// 按起止生成递增数组
const getNumsArr = (start, end) => {
	let arr = [];
	for (var i = start; i < end + 1; i++) {
		arr.push(i)
	}
	return arr;
}
const config = {
	'64single':{
		numberLeft: [],
		numberRight: [
			getNumsArr(33,48),
			getNumsArr(49, 56),
			getNumsArr(57, 60),
			[61, 62],
			[64]
		],
		numberCenter: getNumsArr(1, 32),
		numberOther:[
			{
				position:'left',
				positionSourceId:64,
				id:63
			}
		]	
	},
	'64double': {
		numberLeft: [
			getNumsArr(33, 48),
			getNumsArr(65, 80),
			getNumsArr(89, 96),
			getNumsArr(101, 108),
			getNumsArr(111, 114),
			getNumsArr(116, 119),
			getNumsArr(120, 121),
			getNumsArr(122, 123),
			[124],
			[125]
		],
		numberRight: [
			getNumsArr(49, 64),
			getNumsArr(81, 88),
			getNumsArr(97, 100),
			[109, 110],
			[115]
		],
		numberCenter: getNumsArr(1, 32),
		numberOther:[
			{
				position:'bottom',
				positionSourceId:32,
				id:126,
				edgesSourceId:[125,115]
			}
		]
	},
	'32single':{
		numberLeft: [],
		numberRight: [
			getNumsArr(17, 24),
			getNumsArr(25, 28),
			getNumsArr(29, 30),
			[32]
		],
		numberCenter: getNumsArr(1, 16),
		numberOther:[
			{
				position:'left',
				positionSourceId:32,
				id:31
			}
		]
	},
	'32double': {
		numberLeft: [
			getNumsArr(17, 24),
			getNumsArr(33, 40),
			getNumsArr(45, 48),
			getNumsArr(49, 52),
			getNumsArr(53, 54),
			getNumsArr(57, 58),
			[59],
			[61]
		],
		numberRight: [
			getNumsArr(25, 32),
			getNumsArr(41, 44),
			getNumsArr(55, 56),
			[60]
		],
		numberCenter: getNumsArr(1, 16),
		numberOther:[
			{
				position:'bottom',
				positionSourceId:16,
				id:62,
				edgesSourceId:[61,60]
			}
		]
	},
	'4single':{
		numberLeft:[],
		numberRight:[[4]],
		numberCenter: getNumsArr(1, 2),
		numberOther:[
			{
				position:'left',
				positionSourceId:4,
				id:3
			}
		],
	},
	'4double':{
		numberLeft:[[3],[5]],
		numberRight:[[4]],
		numberCenter: getNumsArr(1, 2),
		numberOther:[
			{
				position:'bottom',
				positionSourceId:2,
				id:6,
				edgesSourceId:[5,4]
			}
		]
	},
	'8single':{
		numberLeft:[],
		numberRight:[[5,6],[8]],
		numberCenter: getNumsArr(1, 4),
		numberOther:[
			{
				position:'left',
				positionSourceId:8,
				id:7
			}
		]
	},
	'8double':{
		numberLeft:[[5,6],[9,10],[11],[13]],
		numberRight:[[7,8],[12]],
		numberCenter: getNumsArr(1, 4),
		numberOther:[
			{
				position:'bottom',
				positionSourceId:4,
				id:14,
				edgesSourceId:[13,12]
			}
		]
	},
	'16single':{
		numberLeft:[],
		numberRight:[
			getNumsArr(9, 12),
			getNumsArr(13, 14),
			[16]
		],
		numberCenter: getNumsArr(1, 8),
		numberOther:[
			{
				position:'left',
				positionSourceId:16,
				id:15
			}
		]
	},
	'16double':{
		numberLeft:[
			getNumsArr(9, 12),
			getNumsArr(17, 20),
			getNumsArr(21, 22),
			getNumsArr(25, 26),
			[27],
			[29],
		],
		numberRight:[
			getNumsArr(13, 16),
			getNumsArr(23, 24),
			[28]
		],
		numberCenter: getNumsArr(1, 8),
		numberOther:[
			{
				position:'bottom',
				positionSourceId:8,
				id:30,
				edgesSourceId:[29,28]
			}
		]
	},
}

export default config